package com.it.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.it.domain.Brand;

import java.util.List;

/**
 * 业务层接口 关注业务名称
 */
public interface BrandService {

   Boolean add(Brand brand);
   Boolean delete(Integer id);
   Boolean update(Brand brand);
   Brand selectById(Integer id);
   List<Brand> selectAll();

   IPage<Brand>selectPage(int currentPage,int pageSize);
   IPage<Brand>selectPage(int currentPage,int pageSize,Brand brand);




}
